package spring.cloud.service.task.domain.task_item;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Setter
@Getter
public final class TaskItemExecuteInfo implements Comparable<TaskItemExecuteInfo> {
    protected String taskId;//任务id
    protected String taskInstanceId;//实例id
    protected String taskStage;
    protected String taskStage$type;
    protected String taskStage$type$index;//ItemIndex
    /**
     * 运行任务服务器
     */
    private String executorId;
    private int status;
    private Long beginTime;
    private Long reportTime;
    private long timeConsumed;

    @Override
    public int compareTo(TaskItemExecuteInfo o) {
        return 0;
    }
}
